﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class login : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void BtnLogin_Click(object sender, EventArgs e)
    {
        UserInfo newUser = new UserInfo();
        newUser.UserID = "200630472486";
        newUser.Nickname = "星妈";
        newUser.Popedom = 1;
        Master.SetUserToSession(newUser);
        //Response.Redirect(System.Configuration.ConfigurationManager.AppSettings["address"] + "/index.aspx");
        Server.Transfer("~/index.aspx");    
    }
}
